{% extends 'AdminBundle::layout.html.twig' %}

{% block title %}公告详情{% endblock %}

    {% block css %}
        <link type="text/css" rel="stylesheet" href="{{ asset('assets/css/bootstrap-datetimepicker.min.css') }}">
    {% endblock %}


    {% block top %}
        {#{{ dump() }}#}
        {{ parent() }}
    {% endblock %}



    {% block left_body_top %}
        {{ parent() }}
    {% endblock %}

    {% block left_body %}
        {{ parent() }}
    {% endblock %}

    {% block right_body %}
    <div class="page-header">
        <div class="page-right-top">
            <div class="right-top">
                <span class="right-title">消息通知</span>
            </div>
            <div class="top-nav">公告列表</div>
            <span class="r-arrow top-r-arrow"></span>
            <div class="top-nav top-nav-active">公告详情</div>
        </div>

        <div class="main-content bg-f">
            <div class="d-no-title">{{ data.data.title|default('') }}</div>
            <div style="padding:10px 30px;">
                {{ data.data.content|default('') |raw  }}
            </div>

            <a class="download-box" href="{{ asset('')~data.data.path|default('') }}">
                <div class="down-text fl">附件：{{ data.data.origin_name|default('') }}</div>
                <span class="down-icon"></span>
            </a>
        </div>
    </div>

    {% endblock %}


{% block box %}
{% endblock %}


{% block javascript %}
    <script src="{{ asset('assets/js/bootstrap-datetimepicker.min.js') }}" type="text/javascript"></script>
    <script src="{{ asset('assets/js/bootstrap-datetimepicker.zh-CN.js') }}" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        SidebarHighlighting('2');
        SonSidebar('2', '1');
    })
</script>
{% endblock %}